export const mappingMixins = {
  data () {
    return {
      taskTypeList: [
        { id: '1001', name: '通用ocr' },
        { id: 'segment', name: '分词' },
        { id: 'keyword', name: '关键词提取' },
        { id: 'sentiment', name: '情感分析' },
        { id: 'frequency', name: '词频' },
        { id: 'ner', name: '命名实体识别' },
        { id: 'simWord', name: '近义词识别' },
      ],
      statusList: [
        { id: 'notStart', name: '未开始', type: 'primary' },
        { id: 'running', name: '运行中', type: 'primary' },
        { id: 'complete', name: '已完成', type: 'success' },
        { id: 'error', name: '失败', type: 'danger' },
      ]
    }
  }
};
